package com.zzqstart.cateorder.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzqstart.cateorder.entity.CreateCondition;
import com.zzqstart.cateorder.entity.Order;
import com.zzqstart.cateorder.entity.OrderSearh;

import java.util.Map;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author testjava
 * @since 2023-03-03
 */
public interface OrderService extends IService<Order> {

    String createOrder(CreateCondition createCondition, String memberId);

    Map<String, Object> getBackOrderInfo(OrderSearh searchObj, Long current, Long limit);

    Boolean deleteOrder(String memberId, String orderId);
}
